3.1.36 \(\int \frac {x}{\sqrt {b x^2}} \, dx\) [36]

Optimal. Leaf size=13 \[ \frac {x^2}{\sqrt {b x^2}} \]

[Out]

x^2/(b*x^2)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {15, 8} \begin {gather*} \frac {x^2}{\sqrt {b x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x/Sqrt[b*x^2],x]

[Out]

x^2/Sqrt[b*x^2]

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rule 15

Int[(u_.)*((a_.)*(x_)^(n_))^(m_), x_Symbol] :> Dist[a^IntPart[m]*((a*x^n)^FracPart[m]/x^(n*FracPart[m])), Int[
u*x^(m*n), x], x] /; FreeQ[{a, m, n}, x] &&  !IntegerQ[m]

Rubi steps

\begin {align*} \int \frac {x}{\sqrt {b x^2}} \, dx &=\frac {x \int 1 \, dx}{\sqrt {b x^2}}\\ &=\frac {x^2}{\sqrt {b x^2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 13, normalized size = 1.00 \begin {gather*} \frac {x^2}{\sqrt {b x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x/Sqrt[b*x^2],x]

[Out]

x^2/Sqrt[b*x^2]

________________________________________________________________________________________

Maple [A]
time = 0.02, size = 12, normalized size = 0.92

method result size
derivativedivides \(\frac {\sqrt {b \,x^{2}}}{b}\) \(12\)
default \(\frac {x^{2}}{\sqrt {b \,x^{2}}}\) \(12\)
risch \(\frac {x^{2}}{\sqrt {b \,x^{2}}}\) \(12\)
trager \(\frac {\left (x -1\right ) \sqrt {b \,x^{2}}}{b x}\) \(18\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/(b*x^2)^(1/2),x,method=_RETURNVERBOSE)

[Out]

x^2/(b*x^2)^(1/2)

________________________________________________________________________________________

Maxima [A]
time = 0.31, size = 11, normalized size = 0.85 \begin {gather*} \frac {\sqrt {b x^{2}}}{b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(b*x^2)^(1/2),x, algorithm="maxima")

[Out]

sqrt(b*x^2)/b

________________________________________________________________________________________

Fricas [A]
time = 0.34, size = 11, normalized size = 0.85 \begin {gather*} \frac {\sqrt {b x^{2}}}{b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(b*x^2)^(1/2),x, algorithm="fricas")

[Out]

sqrt(b*x^2)/b

________________________________________________________________________________________

Sympy [A]
time = 0.16, size = 10, normalized size = 0.77 \begin {gather*} \frac {x^{2}}{\sqrt {b x^{2}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(b*x**2)**(1/2),x)

[Out]

x**2/sqrt(b*x**2)

________________________________________________________________________________________

Giac [A]
time = 1.19, size = 9, normalized size = 0.69 \begin {gather*} \frac {x}{\sqrt {b} \mathrm {sgn}\left (x\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(b*x^2)^(1/2),x, algorithm="giac")

[Out]

x/(sqrt(b)*sgn(x))

________________________________________________________________________________________

Mupad [B]
time = 0.96, size = 6, normalized size = 0.46 \begin {gather*} \frac {\left |x\right |}{\sqrt {b}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/(b*x^2)^(1/2),x)

[Out]

abs(x)/b^(1/2)

________________________________________________________________________________________